package com.rtx.edi.platform.rule.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rtx.edi.model.api.po.PlApiMappingStructure;
import com.rtx.edi.model.rule.dto.PlSerialRuleDto;
import com.rtx.edi.platform.rule.bean.PlSerialRule;

public interface PlSerialRuleService extends IService<PlSerialRule> {
	
	void selectPlSerialRule(Page<PlSerialRule> pageParam,PlSerialRule plSerialRule);
	
	boolean addPlSerialRule(PlSerialRule plSerialRule);
	
	void deletePlSerialRule(List<PlSerialRuleDto> list);
	
	PlSerialRule selectPlSerialRuleById(String id);
	
	String getKeyByRule(PlSerialRule plSerialRule);
	// 流水号处理 
	String handleSerialnumber(String targetjson,List<PlApiMappingStructure> structureList);

}
